package com.alison;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author alison
 * @Date 2024/3/27 10:12
 * @Version 1.0
 * @Description
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@ConfigurationProperties(prefix = "emp")
public class EmployeeProperties {

    private String name;
    private int age;
    private String address;
}
